package cn.bin758.h5game.module.game.convert.record;

import java.util.*;

import cn.bin758.h5game.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.bin758.h5game.module.game.controller.admin.record.vo.*;
import cn.bin758.h5game.module.game.dal.dataobject.record.RecordDO;

/**
 * 对局信息 Convert
 *
 * @author bin758
 */
@Mapper
public interface RecordConvert {

    RecordConvert INSTANCE = Mappers.getMapper(RecordConvert.class);

    RecordDO convert(RecordCreateReqVO bean);

    RecordDO convert(RecordUpdateReqVO bean);

    RecordRespVO convert(RecordDO bean);

    List<RecordRespVO> convertList(List<RecordDO> list);

    PageResult<RecordRespVO> convertPage(PageResult<RecordDO> page);

    List<RecordExcelVO> convertList02(List<RecordDO> list);

}
